#ifndef __KOTELEZO_H
#define __KOTELEZO_H

#include <iostream>
#include <vector>
#include"kurzusok.h"

class Kotelezo : public Kurzusok
{

public:

protected:

    std::string Knev;
    int Kenergia;
    int Kmaxenergia;
    int Kturelem;
    int Kiq;
    int Kszorgalom;
    int Kgyorsasag;
    int hanyszorbukott;

    struct Tamadas
    {
        std::string nev;
        int sebzes;
        int turelemcost;
    };

    Kotelezo();

    std::vector<std::string> kerdesek;
    Tamadas playerkepesseg[3];
    Tamadas enemykepesseg[3];
    std::vector<std::string> beszolasok;

    virtual void vizsgazik(Player& player) = 0;
    virtual void zehazik(Player& player) = 0;
    void beolvas(std::string &file1,std::string &file2,std::string &file3);
    void ZHKerdesBetweenXY(std::vector<std::string> &a,int x, int y);
    void AutoHarc(Player& player);
    void Harc(Player &player);
    void randombeszolas(std::vector<std::string> &beszol);
    void HarcKiir(Player &player) const;
    void playertamad(Player &player);
    void enemytamad(Player &player);
    void energiavesztes(bool ki,int mennyi,Player &player);
    void turelemvesztes(bool ki,int mennyi,Player &player);


};

#endif

